package com.bdzl.ecs.service.impl;

import com.bdzl.ecs.dao.ContractTmplObjDao;
import com.bdzl.ecs.service.ContractTmplObjService;
import com.bdzl.pub.entity.loan.ContractTmplObjDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class ContractTmplObjServiceImpl implements ContractTmplObjService {
	@Autowired
	private ContractTmplObjDao contractTmplObjDao;

	@Override
	public ContractTmplObjDO get(Integer ctoId){
		return contractTmplObjDao.get(ctoId);
	}

	@Override
	public List<ContractTmplObjDO> list(Map<String, Object> map){
		return contractTmplObjDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return contractTmplObjDao.count(map);
	}

	@Override
	public int save(ContractTmplObjDO contractTmplObj){
		return contractTmplObjDao.save(contractTmplObj);
	}

	@Override
	public int update(ContractTmplObjDO contractTmplObj){
		return contractTmplObjDao.update(contractTmplObj);
	}

	@Override
	public int remove(Integer ctoId){
		return contractTmplObjDao.remove(ctoId);
	}

	@Override
	public int batchRemove(Integer[] ctoIds){
		return contractTmplObjDao.batchRemove(ctoIds);
	}

}
